using System;
using System.Collections.Generic;

namespace Sustainalytics.DynamicsCRMGateway
{
    public interface ICrmRepository<T>
    {
        IEnumerable<T> ReadAll();

        IEnumerable<T> ReadByIds(IEnumerable<Guid> ids);

        void Create(IEnumerable<T> entities);

        void Update(IEnumerable<T> entities);

        void Delete(IEnumerable<Guid> ids);
    }
}